/* framework */
body {
  padding-top: 50px;
  font-family: Microsoft YaHei;
}

tbody>a{
	color:black;
}
.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.navbar-fixed-top {
  border: 0;
}
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}
.nav-sidebar {
  margin-right: -21px;
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}
.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}
.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
#refresh{
  position: absolute;
  right: 55px; 
  margin-top: 10px;
}
#leave{
  position: absolute;
  right: 95px; 
  margin-top: 10px;
}

/* Detection */
#detection>.layui-card{
	border:1px solid #e6e6e6; 
	box-shadow:none; 
	border-radius:0px;
}
#detection>.layui-card>.layui-card-header{
	background: #f2f2f2; 
	border-bottom: 1px solid #e6e6e6;
}
#detection>.layui-card>.layui-card-header>span{
	position: absolute;
	right: 15px;
}
#detection>.layui-card>.layui-card-body>.layui-form-item{
	margin-top: 10px;
	margin-bottom: 0px;
}

.demo-container {
  width: 320px;
  height: 240px;
  position: relative;
}

video, canvas, .scanf {
	margin-left: 0px;
	margin-top: 0px;
	position: absolute;
}



#detection-log{
	height: 200px;
}
.detection-date{
	display: block;
	width: 185px;
	color: #888888;
}
.detection-table{
	height: 615px;
	overflow: hidden;
	display: block;
}
.state-color{
	color:#FF5E5E;
}

/* layui-main-style */
#search>.layui-inline{
	margin: 5px 0px;
}
#search>.layui-inline>.layui-input-inline{
	margin-right: 10px;
}

/* StuList */
.images{
	width: 120px;
	height: 80px;
	background: #eee;
	margin: 0px 5px 5px 0px;
	float: left;
	position: relative;
}